package com.easybuy.pojo;

import com.easybuy.Tools.Wares;

import java.util.Date;
import java.util.List;

public class Order {
    private Integer id;//主键
    private Integer userId;//用户id
    private String loginName;//登录名
    private String userAddress;//用户地址
    private Date createTime;//创建时间
    private Double cost;//总消费
    private String serialNumber;//订单编号
    private List<Wares> waresList;//商品类集合

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public List<Wares> getWaresList() {
        return waresList;
    }

    public void setWaresList(List<Wares> waresList) {
        this.waresList = waresList;
    }


}
